﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="Header.ascx.vb" Inherits="Control_Header" %>
<%@ Register Src="Menu/HeaderMenuAdmin.ascx" TagName="HeaderMenuAdmin" TagPrefix="uc1" %>
<%@ Register src="sysFunction/sysFunctionMenu.ascx" tagname="sysFunctionMenu" tagprefix="uc2" %>
<script type="text/javascript">
    $(function () { PersistSession(); });

    function PersistSession() {
        $.ajax({
            type: "POST", //Phuong thuc truyen du lieu luon la POST
            url: '<%=ResolveUrl("~/Services/swCheckData.asmx/IncreaseLogin")%>',
            data: "{}", //thong so truyen vao
            dataType: "", //kieu du lieu tra ve
            contentType: "application/json; charset=utf-8",
            success: function (result) {

            }, //ham thuc thi neu thanh cong    
            error: function (XMLHttpRequest, textStatus, errorThrown) {
            } //ham thuc thi neu loi xay ra.

        });
        setTimeout(function () { PersistSession(); }, 60000);

    }
</script>
<div class="row-banner">
    <!-- Banner -->
    <div class="banner">
        <div class="cell-logo">
            <!-- logo banner -->
            <a href="">
                <img src="http://ucs.com.vn/images/logo_unilever.png" border="0"></a>
            <!-- end logo banner -->
        </div>
        <div class="name-system">
            <!-- name banner -->
            <img src="http://ucs.com.vn/images/name_system.png" border="0">
            <!-- end name banner -->
        </div>
        <div class="controltoppages">
            <!-- hours -->
            <div class="text_hours" id="clock">
                | &nbsp;&nbsp;</div>
            <!-- hours -->
            <!-- dateTime -->
            <div class="text_date">

            </div>
            <!-- end DateTime -->
        </div>
    </div>
    <!-- End banner --->
    <!-- Menu pages -->
    
    <!-- End menu page -->
    <uc2:sysFunctionMenu ID="sysFunctionMenu1" runat="server" />
</div>
